import request from "@/utils/request";
export const getAll=(name,warehouseName,page,pageSize)=>request.get(`/warehouseArea/list?name=${name}&warehouseName=${warehouseName}&page=${page}&pageSize=${pageSize}`)
export const addApi=(data)=>request.post('/warehouseArea/add',data)
export const queryByIdApi=(id)=>request.get(`/warehouseArea/${id}`)
export const updateApi=(data)=>request.put('/warehouseArea',data)
export const deleteApi=(id)=>request.delete(`/warehouseArea?id=${id}`)
